<?php  
namespace app\index\controller;
class Industry extends Base{
	function index(){
		$arr=db('industry')->where('type=0')->select();
		return view('industry',['arr'=>$arr]);
	}
	function industrys(){
		// halt($_GET);
		$typeclass=$_GET['typeclass'];
		$arr=db('industry')->where('type=1')->where('typeclass',"$typeclass")->select();
		return view('',['typeclass'=>$typeclass,'arr'=>$arr]);
	}
}
?>
